package com.fintech.third.edczxutil.handle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 字符串转Decimal
 * @author wb0004
 *
 */
public class HandleString2Decimal implements TypeHandle<String,BigDecimal>{

	@Override
	public BigDecimal handle(String str) {
		if(null!=str&&!"".equals(str)){
			return new BigDecimal(str);
		}
		return null;
	}
	public static void main(String[] args) {
		Date date=new Date("2008.04.14");  
		System.out.println(date);
	}

}
